package com.gaotu.demo.jvm;

public class MethodCall {
    private Runnable runnable;
    private static void staticMethod(){ }

    private void privateMethod(){ }

    protected void protectedMethod(){ }

    public void test(){
        MethodCall.staticMethod();
        this.privateMethod();
        this.protectedMethod();
        runnable = ()-> System.out.println("Hello");
        runnable.run();
    }
}
